% V20210224 - 9.7 GW_ADD_INPUTTIME INCLUDE "GW.bas" % Create a page. p = GW_NEW_PAGE() % Prepare title bar string. Title$ = GW_ADD_BAR_TITLE$("Inputtime Example") % Add title to page. GW_ADD_TITLEBAR(p, Title$) % Add text. GW_ADD_TEXT(p, "This is an example of the INPUTTIME control.") % Add Input control. ctl = GW_ADD_INPUTTIME(p, "This is the inputtime:", "") % Now show the page. GW_RENDER(p) DO % Wait for user action. r$ = GW_WAIT_ACTION$() % Place here any necessary code to process user actions. % Example feedback. POPUP r$ UNTIL r$ = "BACK" % End when BACK key is pressed. PRINT GW_GET_VALUE$(ctl) END "End of Inputtime example."